<template>
    <view>
        <view class="title">请选择故障类型</view>
        <view class="type">
            <radio-group @change="typeSelect">
                <view class="list">
                    <radio value="0" /><text>扫码后点击开门，打不开门</text>
                </view>
                <view class="list">
                    <radio value="1" /><text>门关不上</text>
                </view>
                <view class="list">
                    <radio value="2" /><text>其他</text>
                </view>
            </radio-group>
        </view>
        <view class="image">
            <block v-for="(item, index) in imageList">
                <image class="image" :src="item"></image>
            </block>
            <image class="image" src="/static/icons/shot.png" @click="pickerImage" v-if="imageList.length < 3"></image>
        </view>
        <view class="send" @click="push">提交</view>
    </view>
</template>

<script>
    import fault from "./fault.js";
    export default fault;
</script>

<style>
    @import url("./fault.css");
</style>